#ifndef Message_h
#define Message_h

#include "Node.h"
#include <string>

using namespace std;

class Node;

class Message
{
public:
	Message(int source, int destination);
	~Message();

	int getSource()	{ return m_source; }
	int getDestination() { return m_destination; }

	virtual void run(Node* n)=0;
	virtual void print()=0;
	int m_timeSteps;

protected:
	int m_source;
	int m_destination;
};
#endif

